package com.vhall.component.framework.annotation;

import com.vhall.component.framework.core.environment.PropertyComponentSourceDetectorConfiguration;
import com.vhall.component.framework.feignclient.core.FeignProxyMvcConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author xiaoliang.wang
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@EnableFeignClients(basePackages = {"com.vhall.component.controller"})
@Import({PropertyComponentSourceDetectorConfiguration.class, FeignProxyMvcConfiguration.class})
public @interface EnableVhallComponents {

}
